package com.hw01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 打卡记录
 * </p>
 *
 * @author zhong
 * @since 2024-03-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("punching_card_record")
public class PunchingCardRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 员工id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 打卡时间
     */
    @TableField("clock_in")
    private LocalDateTime clockIn;

    /**
     * 打卡地点
     */
    @TableField("address")
    private String address;
}
